package com.guodu.service;

import java.util.List;

import com.guodu.entity.SupplierBad;
import com.guodu.entity.SupplierBadStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.SupplierBadQueryVo;
import com.guodu.vo.SupplierBadVo;

public interface SupplierBadService {
	public int findSizeByVo(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public List<SupplierBadVo>findByVo(SupplierBadQueryVo supplierBadQueryVo,Units units,int curPage, int pageSize);
	public List<SupplierBad> downLoad(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public void examinAll(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public void save(SupplierBad supplierBad);
	public void examine(String ids, String reason, String beforeStatus,
			Long afterStatus, UserInfo userInfo);
	void delByIds(String[] ids);
	
	public SupplierBad findById(String id);
	public void update(SupplierBad supplierBad,Long userId);
	
	public List<SupplierBadStatus> findStatus(String id);
	
	public void deleteById(String id);
}
